example: Make gears button square
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Apr 2014 19:39:07 +0000 (12:39 -0700)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 18 Apr 2014 02:55:40 +0000 (22:55 -0400)
Another application of image-button.

examples/application10/window.ui
examples/application8/window.ui
examples/application9/window.ui

index 1c9eeab3265b4394dec3dcb0a76b49d662c50c40..97a502affc25d7bf90d9e9476f84f5bea2b22262 100644 (file)
@@ -55,6 +55,9 @@
             <child>
               <object class="GtkMenuButton" id="gears">
                 <property name="visible">True</property>
+                <style>
+                  <class name="image-button"/>
+                </style>
                 <child>
                   <object class="GtkImage" id="gears-icon">
                     <property name="visible">True</property>
index 36a8ca4ced2b2fa07ed29eeded52bc7d457ff3e5..674327d7a47195c601a72799b7b7e9c3c05a4d4e 100644 (file)
@@ -41,6 +41,9 @@
             <child>
               <object class="GtkMenuButton" id="gears">
                 <property name="visible">True</property>
+                <style>
+                  <class name="image-button"/>
+                </style>
                 <child>
                   <object class="GtkImage" id="gears-icon">
                     <property name="visible">True</property>
index d3f54d17801e5152a6786735ea54316e3ac11866..0713c3619493a9fca7054be363cb2d37c654db4d 100644 (file)
@@ -58,6 +58,9 @@
             <child>
               <object class="GtkMenuButton" id="gears">
                 <property name="visible">True</property>
+                <style>
+                  <class name="image-button"/>
+                </style>
                 <child>
                   <object class="GtkImage" id="gears-icon">
                     <property name="visible">True</property>